﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CookComputing.XmlRpc;

namespace JeanFish.Blog.XmlRpc
{
    /// <summary>
    /// 表示博文媒体封装。
    /// </summary>
    [XmlRpcMissingMapping(MappingAction.Ignore)]
    public partial class Enclosure
    {
        /// <summary>
        /// 媒体长度。
        /// </summary>
        [XmlRpcMember("length")]
        public int Length
        {
            get;
            set;
        }
        /// <summary>
        /// 媒体类型。
        /// </summary>
        [XmlRpcMember("type")]
        public string Type
        {
            get;
            set;
        }
        /// <summary>
        /// 媒体地址。
        /// </summary>
        [XmlRpcMember("url")]
        public string Url
        {
            get;
            set;
        }
    }
}
